package com.sumainfor.wx.tenant.fallback;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.common.utlis.Pager;
import com.sumainfor.wx.tenant.feign.EpcFeignClient;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @Author Jack Chen
 * @Create 2019-01-25 14:38
 */
@Component
public class EpcFeignClientFallback implements EpcFeignClient {

    ////////////////////////////////////////////////////
    //zhoucong定义
    /////////////////////////////////////////////////////

    @Override
    public JsonResult getMaintenanceHistory(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }
    @Override
    public JsonResult getTcepcArticleType(){
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getTcepcArtice(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getTcepcArticleTrouble(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult insertTcepcRepair(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult toAccept(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }
    @Override
    public JsonResult forTheDoor(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }
    @Override
    public JsonResult toBePaid(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }
    @Override
    public JsonResult toEvaluate(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }
    @Override
    public JsonResult hasBeenCompleted(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }
    @Override
    public JsonResult getStarAvg(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }
    @Override
    public JsonResult deleteTcepcRepair(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }
    @Override
    public JsonResult insertRepairEva(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getTenRoom(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙");
    }
}


